﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;
using Model;

namespace BLL
{
    public class SOP_BossAlipayReChargeRecordBLL
    {
        #region 私有变量
        private static SOP_BossAlipayReChargeRecordDAL _dal;
        private static SOP_BossAlipayReChargeRecordDAL dal
        {
            get
            {
                if (_dal == null)
                {
                    _dal = new SOP_BossAlipayReChargeRecordDAL();
                }
                return _dal;
            }
        }
        #endregion

        #region 增加支付记录
        /// <summary>
        /// 登录
        /// </summary>
        /// <param name="Mobile"></param>
        /// <param name="Password"></param>
        /// <returns></returns>
        public static int AddBossAlipayReChargeRecord(SOP_BossAlipayReChargeRecord Ent, out int RecordID)
        {
            return dal.AddBossAlipayReChargeRecord(Ent, out  RecordID);
        }
        #endregion

        #region 修改支付记录
        /// <summary>
        /// 登录
        /// </summary>
        /// <param name="Mobile"></param>
        /// <param name="Password"></param>
        /// <returns></returns>
        public static int UpdateBossAlipayReChargeRecord(SOP_BossAlipayReChargeRecord Ent)
        {
            return dal.UpdateBossAlipayReChargeRecord(Ent);
        }
        #endregion
    }
}
